import { cn } from "@/lib/utils"; interface TextGridSectionProps { className?: string; data: { id: string; title: string; description: string; }[]; description?: string; title?: string; } export const TextGridSection = ({ className, data, description, title, }: TextGridSectionProps) => (
{title || description ? (
{title ? (

{title}

) : null} {description ? (

{description}

) : null}
) : null}
{data.map((item) => (

{item.title}

{item.description}

))}
);